<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>订单管理</title>
	<%--静态包含base标签，css，jQuery文件，--%>
	<%@include file="/view/common/head.jsp"%></head>
<style>
	.hidden_scroll{
		/*border: 1px solid red;*/
		height: 370px;
		overflow: hidden;
		width: 560px;
		position: relative;
	}
	.table_div{
		/*border: 1px solid red;*/
		height: 370px;
		overflow-y: auto;
		position: absolute;
		right:-20px;

	}
	#main .table_div table{
		margin-top: 10px;
	}
	.width_tr>th{
		font-size: 22px;
		width: 140px !important;
	}
	.width_tr>th:last-child{
		width: 140px !important;
		/*padding-right: 20px;*/
	}
	.width_td{
		width:75px !important;
	}
</style>
<body>
<%@include file="/view/common/back.jsp"%>
	<div id="header">
<%--			<img class="logo_img" alt="" src="../../static/img/logo.gif" >--%>
			<span class="wel_word">订单管理系统</span>
		<%@include file="/view/common/manager_menu.jsp"%>
	<div>
		<a style="display:inline-block;padding-right: 5px;" href="/orderServlet?action=selectOrderAll">返回</a>
	</div>
	</div>

	<div id="main">
		<table>
			<tr class="width_tr">
				<th>衣服</th>
				<th>数量</th>
				<th>单价</th>
				<th>总价</th>
			</tr>
		</table>
		<div class="hidden_scroll">
			<div class="table_div">
				<table>
					<tr>
						<th></th>
						<th></th>
						<th></th>
						<th></th>
					</tr>
					<c:forEach items="${requestScope.orderItems}" var="orderitem">
						<tr>
							<td>${orderitem.name}</td>
							<td>${orderitem.count}</td>
							<td>${orderitem.price}</td>
							<td>${orderitem.total_price}</td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
		</div>



	<%@include file="/view/common/footer.jsp"%>
</body>
</html>